#include<stdio.h>
int main()
{
	int a;
	int b;
	int c;
	int d; 
	double sum;
	sum=0.0;
	c=1;
	b=1;
for(a=1;a<=10;a++){
	while(b<=a){
		c=b*c;
		b++;
	}
	sum=sum+(1/(double )c);}  		
		 
 printf("%10.10f",sum);
return 0;
 } 
